/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.moedik.classes;

import javax.xml.bind.annotation.*;

/**
 *
 * @author SAMMY
 */
@XmlRootElement(name = "shippingservice")
@XmlAccessorType(XmlAccessType.NONE)
@XmlType(name = "ShippingServiceType", propOrder = {
    "shippingServiceId",
    "originCity", "originPool", "originAddress", "originPhone",
    "destinationCity", "destinationPool", "destinationAddress", "destinationPhone",
    "qos", "rate"
})
public class ShippingService {
    
    @XmlElement(name = "shippingServiceId")
    protected int shippingServiceId;
    
    @XmlElement(name = "originCity")
    protected String originCity;
    
    @XmlElement(name = "originPool")
    protected String originPool;
    
    @XmlElement(name = "originAddress")
    protected String originAddress;
    
    @XmlElement(name = "originPhone")
    protected String originPhone;
    
    @XmlElement(name = "destinationCity")
    protected String destinationCity;
    
    @XmlElement(name = "destinationPool")
    protected String destinationPool;
    
    @XmlElement(name = "destinationAddress")
    protected String destinationAddress;
    
    @XmlElement(name = "destinationPhone")
    protected String destinationPhone;
    
    @XmlElement(name = "qos")
    protected String qos;
    
    @XmlElement(name = "rate")
    protected int rate;

    private ShippingService() {
        this.originCity = null;
        this.originPool = null;
        this.originAddress = null;
        this.originPhone = null;
        this.destinationCity = null;
        this.destinationPool = null;
        this.destinationAddress = null;
        this.destinationPhone = null;
        this.qos = null;
    }
    
    public ShippingService(int shippingServiceId, String originCity, String originPool, String originAddress, String originPhone, String destinationCity, String destinationPool, String destinationAddress, String destinationPhone, String qos, int rate) {
        this.shippingServiceId = shippingServiceId;
        this.originCity = originCity;
        this.originPool = originPool;
        this.originAddress = originAddress;
        this.originPhone = originPhone;
        this.destinationCity = destinationCity;
        this.destinationPool = destinationPool;
        this.destinationAddress = destinationAddress;
        this.destinationPhone = destinationPhone;
        this.qos = qos;
        this.rate = rate;
    }

    public int getShippingServiceId() {
        return shippingServiceId;
    }

    public void setShippingServiceId(int shippingServiceId) {
        this.shippingServiceId = shippingServiceId;
    }
    
    public String getOriginCity() {
        return originCity;
    }

    public void setOriginCity(String originCity) {
        this.originCity = originCity;
    }

    public String getOrigin() {
        return originPool;
    }

    public void setOrigin(String origin) {
        this.originPool = origin;
    }

    public String getDestinationAddress() {
        return destinationAddress;
    }

    public void setDestinationAddress(String destinationAddress) {
        this.destinationAddress = destinationAddress;
    }

    public String getDestinationCity() {
        return destinationCity;
    }

    public void setDestinationCity(String destinationCity) {
        this.destinationCity = destinationCity;
    }

    public String getDestinationPhone() {
        return destinationPhone;
    }

    public void setDestinationPhone(String destinationPhone) {
        this.destinationPhone = destinationPhone;
    }

    public String getDestinationPool() {
        return destinationPool;
    }

    public void setDestinationPool(String destinationPool) {
        this.destinationPool = destinationPool;
    }

    public String getOriginAddress() {
        return originAddress;
    }

    public void setOriginAddress(String originAddress) {
        this.originAddress = originAddress;
    }

    public String getOriginPhone() {
        return originPhone;
    }

    public void setOriginPhone(String originPhone) {
        this.originPhone = originPhone;
    }

    public String getOriginPool() {
        return originPool;
    }

    public void setOriginPool(String originPool) {
        this.originPool = originPool;
    }

    public String getQos() {
        return qos;
    }

    public void setQos(String qos) {
        this.qos = qos;
    }

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

}
